/*
 * 
 * 
 * 
 */
package com.hboxs.asl.dao;

import com.hboxs.asl.Page;
import com.hboxs.asl.Pageable;
import com.hboxs.asl.entity.Member;
import com.hboxs.asl.entity.Trade;

/**
* Dao - 充值
*/
public interface TradeDao extends BaseDao<Trade, Long> {

    Trade findByTn(String tn);

    /**
     * 查找交易成功的流水记录
     *
     * @param pageable
     * @param member
     * @return
     */
    Page findPageSuccess(Pageable pageable, Member member);

    /**
     * 查找交易成功的流水记录
     *
     * @param pageable
     * @return
     */
    Page findPageSuccess(Pageable pageable);
}